package com.suneast.suneaststore.bean.shopcart;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class MultipleItemShopCart implements MultiItemEntity {
    public final static int GOODS = 0;
    public final static int SHOP = 1;

    private int itemType;
    private int shopId;
    private String shopName;
    private ItemGoodsInShopCart goods;

    public MultipleItemShopCart(int itemType, int shopId, String shopName) {
        this.itemType = itemType;
        this.shopId = shopId;
        this.shopName = shopName;
    }

    public MultipleItemShopCart(int itemType, ItemGoodsInShopCart goods) {
        this.itemType = itemType;
        this.goods = goods;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public int getShopId() {
        return shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public ItemGoodsInShopCart getGoods() {
        return goods;
    }
}
